/**
 * 
 */
package org.cuatroviento.arrays;

/**
 * @author unai_inigo
 *
 */
public class Arrays {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int oneNumber = 5;
		int[] manyNumbers = {15, 42, 128, 0, 1};
		String[] heroes = {"Gimli","boromir","frodo"};
		
		manyNumbers[3] = oneNumber;
		manyNumbers[0] = 666;
		
		for(int i = 0; i<manyNumbers.length; i++){
			System.out.println(i+" . "+ manyNumbers[i]);
		}
		heroes[2] = "Hodor";
		for(int i = 0; i < heroes.length; i++){
			System.out.println(i + " . "+manyNumbers[i]);
		}

	}

}
